package com.ruoyi.mes.material.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单对象 smes_material_arrive_bill
 * 
 * @author simpsense
 * @date 2020-12-10
 */
public class SmesMaterialArriveBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String arriveBillNo;

    /** 批次 */
    @Excel(name = "批次")
    private String batchNo;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String billStatus;

    /** 收货完成人 */
    @Excel(name = "收货完成人")
    private String completeBy;

    /** 收货完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收货完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completeTime;

    /** 是否打印 */
    @Excel(name = "是否打印")
    private String printStatus;

    public void setRowId(Long rowId) 
    {
        this.rowId = rowId;
    }

    public Long getRowId() 
    {
        return rowId;
    }
    public void setArriveBillNo(String arriveBillNo) 
    {
        this.arriveBillNo = arriveBillNo;
    }

    public String getArriveBillNo() 
    {
        return arriveBillNo;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setBillStatus(String billStatus) 
    {
        this.billStatus = billStatus;
    }

    public String getBillStatus() 
    {
        return billStatus;
    }
    public void setCompleteBy(String completeBy) 
    {
        this.completeBy = completeBy;
    }

    public String getCompleteBy() 
    {
        return completeBy;
    }
    public void setCompleteTime(Date completeTime) 
    {
        this.completeTime = completeTime;
    }

    public Date getCompleteTime() 
    {
        return completeTime;
    }
    public void setPrintStatus(String printStatus) 
    {
        this.printStatus = printStatus;
    }

    public String getPrintStatus() 
    {
        return printStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rowId", getRowId())
            .append("arriveBillNo", getArriveBillNo())
            .append("batchNo", getBatchNo())
            .append("billStatus", getBillStatus())
            .append("completeBy", getCompleteBy())
            .append("completeTime", getCompleteTime())
            .append("printStatus", getPrintStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
